<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="mytags" uri="/WEB-INF/mytags.tld" %>
<%@ include file="/common/jsp/taglibs.jsp" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE3 {font-size: 12px; font-weight: bold; }
.STYLE4 {
	color: #03515d;
	font-size: 12px;
}
-->
</style>
<script type="text/javascript" src="<%=path %>/common/jquery.js"></script>
<script type="text/javascript" src="<%=path %>/common/mark-ui.js"></script>
<script type="text/javascript" src="<%=path%>/common/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
	function exportExcel(){
		window.location="<%=path %>/report/Report_expXls.action";
	}
</script>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" background="<%=path %>/images/tab_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="30"><img src="<%=path %>/images/tab_03.gif" width="12" height="30" /></td>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="100%" valign="middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="5%"><div align="center"><img src="<%=path %>/images/tb.gif" width="16" height="16" /></div></td>
                <td width="95%" class="STYLE1"><span class="STYLE3">你当前的位置</span>：[统计报表]-[${tableVO.reportName }]</td>
              </tr>
            </table></td>
            
          </tr>
          
        </table></td>
        <td width="16"><img src="<%=path %>/images/tab_07.gif" width="16" height="30" /></td>
      </tr>
      
    </table></td>
  </tr>
  

  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
    
      <tr>
        <td width="8" background="<%=path %>/images/tab_12.gif">&nbsp;</td>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6">
          <tr id="search">
            <td colspan="<mytags:ListMapping items="${tableVO.titleList}" suff="1"></mytags:ListMapping>" height="42" bgcolor="#FFFFFF">
              <table>
              <s:form action="/report/TicketCarAvg_ticketCount.action" method="post">
              <tr>
             <td>
            开始日期：
              </td>
              <td>
              &nbsp;<input type="text" id="startDate" name="startDate" value="${startDate }" class="Wdate" onFocus="WdatePicker({maxDate:'#F{$dp.$(\'endDate\').value||\'2020-10-01\'}',dateFmt:'yyyy-MM-dd'})">
              
              </td>
              <td>
              结束日期：
              </td>
              <td>
              &nbsp;<input type="text" id="endDate" name="endDate"  value="${endDate }" class="Wdate" onFocus="WdatePicker({minDate:'#F{$dp.$(\'startDate\').value||\'2020-10-01\'}',dateFmt:'yyyy-MM-dd'})">
              </td>
              
              
              <td>
              &nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="统计">&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="导出EXCEL" onclick="exportExcel();">
              </td>
              </tr>
              </s:form>
              </table>
            </td>
          </tr>
          <tr>
            <td colspan="<mytags:ListMapping items="${tableVO.titleList}" suff="1"></mytags:ListMapping>" height="22" background="<%=path %>/images/bg.gif" bgcolor="#FFFFFF"><div align="center">
              <table border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
               
                <td>&nbsp;${tableVO.reportName }</td>
                
              </tr>
            </table>
            </div></td>
            
          </tr>
          <tr>
          <td height="22" background="<%=path %>/images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">
					${tableVO.mentName }
					</span></div>
				</td>
          	<s:iterator value="tableVO.titleList" var="titles">
            	<td height="22" background="<%=path %>/images/bg.gif" bgcolor="#FFFFFF"><div align="center"><span class="STYLE1">${titles.name}</span></div></td>
            </s:iterator>
          </tr>
          
           <s:iterator value="tableVO.mentList" var="ments">
           <tr>
	           <td height="20" bgcolor="#FFFFFF"><div align="center" class="STYLE1">
	              <div align="center">${ments.name }</div>
	           </div></td>
	           <s:iterator value="tableVO.titleList" var="titles">
		            <td height="20" bgcolor="#FFFFFF"><div align="center" class="STYLE1">
		              <div align="center">
		              <mytags:repMapping items="${tableVO.dataMap}" titlesVal="${titles.code}" mentsVal="${ments.code}"></mytags:repMapping>
		              </div>
		            </div></td>
	            
	           </s:iterator>
          </tr>
          </s:iterator>
          
        </table></td>
        <td width="8" background="<%=path %>/images/tab_15.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35" background="<%=path %>/images/tab_19.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="12" height="35"><img src="<%=path %>/images/tab_18.gif" width="12" height="35" /></td>
        <td>
        
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="STYLE4">&nbsp;&nbsp;</td>
            <td class="STYLE4" align="right">&nbsp;</td>
          </tr>
        </table>
        
        </td>
        <td width="16"><img src="<%=path %>/images/tab_20.gif" width="16" height="35" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
